// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-11-8

#ifndef __NET_TRANSMIT_H_COMMON_SERVLIB__
#define __NET_TRANSMIT_H_COMMON_SERVLIB__

#pragma once

#include "net_config.h"
#include "base_buffer.h"
#include <common/base/refdata.h>
#include <common/base/mempool.h>

namespace JoyServer
{


class CJoyTransmitData : public CJoyRefData
{
public:
    CJoyBuffer  m_buf;
public:
#   include <common/base/mempoolinc.h>

    CJoyTransmitData(int len);
    CJoyTransmitData(const void* buf, int len);
    virtual ~CJoyTransmitData();
};



} // namespace JoyServer

#endif  // __NET_TRANSMIT_H_COMMON_SERVLIB__